//
//  CSPayListView.h
//  SHCloudStore
//
//  Created by SH_iOS on 2017/4/12.
//  Copyright © 2017年 SH. All rights reserved.
//

#import <UIKit/UIKit.h>
/*
 value
 1
 微信支付
 10
 微信扫码支付
 2
 支付宝支付
 4
 psop刷卡支付
 5
 快捷支付
 70	京东快捷支付
 71	京东扫码支付
 */
//BALANCEPAY       = 60,//余额支付
//BALANCEPAY_QRCODE = 61,//余额扫码支付
//WXPAY            = 1,//微信支付
//WXSACNQRCODEPAY  = 10,//微信扫码支付
//ALIPAY           = 4,//支付宝
//JDPAY_QRCODE     = 71,//京东支付——付款给商家
//JDPAY            = 70,//京东支付——充值
typedef enum : NSUInteger {
    SHBALANCEPAY = 60, //余额支付
    SHUNIONQILINGPAY = 5,//银联支付一 启领银联充值
    SHUNIONFUHUITONGPAY = 7,//银联支付二 福汇通银联充值

    SHWXPAY = 10,//微信扫码支付
    SHALIPAY = 20,//支付宝支付
    SHJDPAY = 70,//京东支付
    SHTRANSFERPAY = 80,//普通转账
    SHScanQrcodePay = 72,//扫码支付

    
}CSCustomPaymentWay;

/*1
 充值到D0粮仓
 2
 充值到余额
 5
 购物
 10
 取现
 15
 押金缴费
 20	云店购物
 */

typedef enum : NSUInteger {
    SHD0 = 1,//充值到D0
    SHBALANCE = 2,//充值到余额
    SHGOSHOPPING = 5,//购物
    SHCASHER = 10,//取现
    SHDEPISIT = 15,//押金缴费
    SHSTORE = 20//云店购物
}CustomUserType;

@class CSPayListView;
@protocol CSPayListViewDelegate <NSObject>

- (void)csCustomPaymentWayView:(CSPayListView *)view CustomPaymentWay:(CSCustomPaymentWay)customPaymentWay;

@end
@interface CSPayListView : UIView
@property(nonatomic,strong)id<CSPayListViewDelegate>delegate;
// 初始化
- (instancetype)initWithFrame:(CGRect)frame dataArray:(NSMutableArray *)dataSourceArray;
//显示View;
- (void)showCustomView;
- (void)dissMissCustomView;
@end
